package com.csun.cmny.provider.dao;

import com.csun.cmny.provider.model.domain.DmcWatchAlarmClock;
import com.csun.cmny.provider.model.dto.watch.WatchAlarmClockPageQuery;
import com.csun.cmny.provider.model.vo.watch.DmcWatchAlarmClockVo;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;
import java.util.Map;

public interface DmcWatchAlarmClockMapper extends Mapper<DmcWatchAlarmClock> {

    /**
     * query dmc watch alarm clock list with page
     *
     * @param watchAlarmClockPageQuery  watch alarm clock page query
     *
     * @return the page info
     */
    List<DmcWatchAlarmClockVo> queryDmcWatchAlarmClockListWithPage(WatchAlarmClockPageQuery watchAlarmClockPageQuery);

    /**
     * get one wait send alarm clock by device id
     *
     * @param deviceId  device id
     *
     * @return  the dmc watch alarm clock
     */
    DmcWatchAlarmClock getOneWaitSendAlarmClockByDeviceId(Long deviceId);

    /**
     * select watch alarm clock by device id
     *
     * @param deviceId the device id
     *
     * @return the map
     */
    Map<String, Object> selectByDeviceId(Long deviceId);
}